﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
///MessageBox 的摘要说明
/// </summary>
public class MessageBox
{
    public MessageBox()
    {
        //
        //TODO: 在此处添加构造函数逻辑
        //
    }
    public static void Show(string message)
    {
        HttpContext.Current.Response.Write("<script>alert('" + message + "')</script>");
    }
    public static void Show(string message, string url)
    {
        HttpContext.Current.Response.Write("<script>alert('" + message + "');location='" + url + "'</script>");
    }
}